package com.haidechizi.i18n.common.api.vo;

import com.haidechizi.i18n.common.api.common.I18nBaseVO;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;

@Data
public class MultiLanguage extends I18nBaseVO implements Serializable {

    /**
     * 业务key
     */
    private String businessKey;

    /**
     * 默认语种
     * LanguageTypeEnum参考
     */
    private String defaultLanguage;

    /**
     * 每种语言与对应文案的键值对
     * eg:  cn : "{title:牛奶}"
     * en : "{title:milk}"
     */
    private Map<String, String> languageDocMap;
}
